package com.sh.enums;

public enum PermissionTypeEnum {
    NONE(0,"NONE"),
    READ(1, "READ"),
    WRITE(2, "WRITE");
    private Integer code;
    private String name;

    PermissionTypeEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public String getName() {
        return name;
    }

}
